#include <QCoreApplication>

/*int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    return a.exec();
}*/
#include <iostream>
using namespace std;
int main()
{
    //Begin
    //Площадь прямоугольника
    cout<<"Begin"<<endl;
    int shirina,dlina;
    cout<<"vvedite shirinu"<<endl;
    cin>>shirina;
    cout<<"vvedite dlinu"<<endl;
    cin>>dlina;
    cout<<"ploshad="<<shirina*dlina<<endl;
    cout<<"perimetr="<<2*(shirina+dlina)<<endl;
    return 0;
}
